package com.itheima_01;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone p = new Phone();
        System.out.println("p.price");
        System.out.println("p.brand");
        p.price = 2999;
        p.brand = "小米";
        System.out.println("p.price");
        System.out.println("p.brand");
        p.call();
        p.sendMessage();
    }
}
